package org.jeecg.modules.asset.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.jeecg.modules.asset.entity.AssetMessage;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @Description: 资产台账
 * @Author: jeecg-boot
 * @Date:   2025-11-14
 * @Version: V1.0
 */
public interface AssetMessageMapper extends BaseMapper<AssetMessage> {
    @Select("select count(1) from asset_message where asset_code like concat(#{code},'%')")
    int getCount(@Param("code") String code);
}
